package com.slz3.business.module.goodsManagement.gooTypeLevel1.service;

import com.slz3.business.module.goodsManagement.gooTypeLevel1.domain.GooTypeLevel1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface GooTypeLevel1Service {

    GooTypeLevel1 save(GooTypeLevel1 gooTypeLevel1);

    Page<GooTypeLevel1> page(MultiValueMap<String,String> queryParams);

    GooTypeLevel1 modify(GooTypeLevel1 gooTypeLevel1);

    Optional<GooTypeLevel1> single(UUID uuid);

    List<GooTypeLevel1> findAllByUuids(Iterable<UUID> uuids);

    List<GooTypeLevel1> delete(List<GooTypeLevel1> gooTypeLevel1List);
}
